<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>sinc</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : April 1993</div>
    <p>
      <b>sinc</b> -   sinc  function</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>t=sinc(x)  </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>x</b>
        </tt>: real or complex vector or  matrix</li>
      <li>
        <tt>
          <b>t</b>
        </tt>: real or complex vector or  matrix</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
    If <tt>
        <b>x</b>
      </tt> is  a vector or a matrix, <tt>
        <b>t=sinc(x)</b>
      </tt> is the vector or
    matrix such that 
    <tt>
        <b>t(i)=sin(x(i))/x(i)</b>
      </tt> if <tt>
        <b>x(i)~=0</b>
      </tt> and <tt>
        <b>t(i)=1</b>
      </tt> if  <tt>
        <b>x(i)==0</b>
      </tt>
    </p>
    <h3>
      <font color="blue">Examples</font>
    </h3>
    <pre>

x=linspace(-10,10,3000);
plot2d(x,sinc(x))
 
  </pre>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="sin.htm">
        <tt>
          <b>sin</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="cos.htm">
        <tt>
          <b>cos</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
  </body>
</html>
